# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="faster"
HOMEPAGE="http://altarica.labri.fr/"
SRC_URI="http://altarica.labri.fr/pub/tools/packages/stable/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"

IUSE="armoise ccl lash lira mona omega prestaf"
DEPEND="
	>=sci-mathematics/genepi-2.0
	ccl? ( sci-libs/ccl )
	armoise? ( sci-mathematics/armoise )
	lash? ( sci-mathematics/lash-plugin )
	omega? ( sci-mathematics/omega-plugin )
	prestaf? ( sci-mathematics/prestaf )
	lira? ( sci-mathematics/lira-plugin )
	mona? ( sci-mathematics/mona-plugin )"

src_unpack() {
	unpack ${A}
}

src_compile() {
	local myconf="--prefix=/usr"

	econf || die
	emake || die
}

src_install() {
	local myconf="DESTDIR=${D}"

	emake ${myconf} install || die
}
